Component({
  options: {
    addGlobalClass: true
  }, 
  properties: {
    user:{
      type:Object
    }
  }, 
  data: {
    user:{}
  },  
  methods: {
    onClickNav(e){ 
      wx.navigateTo({ url: e.currentTarget.dataset.path })   
    },
    changeTab:function(event) { 
      wx.navigateTo({  url: event.currentTarget.dataset.id  })
    },
  }
})
